﻿using System;
using System.ComponentModel.Composition;
using MEF_Test.Subtitles;

namespace Subtitles.MydraSubtitlesSelection
{
    [Export(typeof(ISubtitleSelectionViewFactory))]
    public class SubtitleSelectionViewFactory : ISubtitleSelectionViewFactory
    {
        public ISubtitlesSelectionView Create(ISubtitlesSelectionPageViewModel viewModel)
        {
            return new MydraSubtitlesSelectionView(viewModel);
        }
    }
}